package com.zjy.business.login.manager.service;

import com.zjy.business.login.domain.manager.form.ManagerLoginForm;
import com.zjy.business.login.domain.manager.form.ManagerUserEditInfoForm;
import com.zjy.business.login.domain.manager.vo.ManagerLoginVo;
import com.zjy.business.login.domain.manager.vo.ManagerUserInfoVo;
import com.zjy.business.system.domain.manager.form.ManagerSysEditPasswordForm;
import com.zjy.business.system.domain.manager.vo.ManagerSysMenuListVo;

import java.util.List;

/**
 * @author yxb
 * create_time: 2024-10-23 09:40
 * description: 
 */
public interface ManagerSysAuthService {

    /**
     * 账号密码登录
     * @param form
     * @return
     */
    ManagerLoginVo formLogin(ManagerLoginForm form);

    /**
     * 获取当前登录的账号信息
     * @return
     */
    ManagerUserInfoVo getUserInfo();

    /**
     * 修改个人信息
     * @param form
     */
    void editUserInfo(ManagerUserEditInfoForm form);

    /**
     * 查询菜单列表
     * @return
     */
    List<ManagerSysMenuListVo> queryMenuList();

    /**
     * 修改密码
     * @param form
     */
    void editPassword(ManagerSysEditPasswordForm form);
}
